<html>
<head>
    @if(empty($linkCard))
    <title>{{ $title }}</title>
    @else
    <title>{{ $linkCard->title }}</title>
    <meta name="description" content="{{ $linkCard->describe }}">
    <link href="{{ $linkCard->logo }}" rel="shortcut icon" type="image/x-icon">
    @endif
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, viewport-fit=cover">
    <link rel="icon" href="data:,">
    <link rel="stylesheet" type="text/css" href="//res.wx.qq.com/open/libs/weui/2.4.0/weui.min.css?v=2023070601">
    <link rel="stylesheet" type="text/css" href="/business/css/site.templete.css?v={{ time() }}">
    <link href="//at.alicdn.com/t/c/font_3894745_oqhpczzw1rk.css" rel="stylesheet" type="text/css">
    <script src="//file.wailian1.cn/assets/js/v2/jquery-3.5.1-min.js?v=2023070601"></script>
    <script src="//file.wailian1.cn/assets/js/libs/cryptojs/md5.js?v=2023070601"></script>
    <script src="//file.wailian1.cn/assets/js/libs/cryptojs/aes.js?v=2023070601"></script>
    <script src="//file.wailian1.cn/assets/js/v2/qrcode.min.js?v=2023070601"></script>
    <script src="//file.wailian1.cn/assets/js/v2/clipboard.min.js?v=2023070601"></script>
    <script src="//file.wailian1.cn/wl/js/wailian.static.min.js?v=2023070601"></script>
    <script src="/business/js/dev/links-template.8751723.js?v={{ time() }}"></script>
    <!-- <script src="//file.wailian1.cn/wl/js/wailian.common.min.js?v=2023070601"></script> -->
    <script type="text/javascript">
        var linksInfo = '{{ $linksinfo }}';
  </script>
</head>

<body>
    <div class="site-contain">
        {!! $linksHtml->html !!}
    </div>
    <div class="site-copyright" id="showCopyright" style="margin-top: -100px; display: block;">
        <div class="site-copyright-text">©️<a href="https://www.tiantianwailian.com/" target="_blank">「天天外链」</a>提供技术支持</div>
    </div>
    <div class="site-pc-qrcode">
        <div id="preview_qrcode"></div>
        <p>请使用手机扫码访问落地页</p>
    </div>
    <div id="site_alert_contain" class="site-alert-contain" style="display:none;"></div>
    <div class="page" id="noticeError" style="display:none;">
        <div class="weui-msg">
            <div class="weui-msg__icon-area"><i class="weui-icon-info weui-icon_msg"></i></div>
            <div class="weui-msg__text-area">
                <h2 class="weui-msg__title">请在微信内打开</h2>
                <p class="weui-msg__desc"></p>
            </div>
            <div class="weui-msg__opr-area">
                <p class="weui-btn-area">
                    <span id="errorcopylink" data-clipboard-text="" class="weui-btn weui-btn_primary">复制链接</span>
                </p>
            </div>
            <div class="weui-msg__extra-area">
                <div class="weui-footer">
                    <p class="weui-footer__text">Copyright &copy; 2018-2022 <a href="https://www.tiantianwailian.com/" style="color: var(--weui-FG-2);">天天外链</a></p>
                </div>
            </div>
        </div>
    </div>

    <!--BEGIN dialog-->
    <div class="js_dialog" role="dialog"  aria-hidden="true" aria-modal="true" aria-labelledby="js_title2" id="dialog" style="display: none;">
        <div class="weui-mask"></div>
        <div class="weui-dialog">
            <div class="weui-dialog__bd">已复制，将链接发送给微信 "文件传输助手" 后即可点击打开！</div>
            <div class="weui-dialog__ft">
                <span class="weui-dialog__btn weui-dialog__btn_primary" onclick="hideDialog();">知道了</span>
            </div>
        </div>
    </div>
    <div id="debug"></div>
    <!--END dialog-->
    <script type="text/javascript">
        $(document).ready(function() {
            try {
                getLinksDetial();
            } catch(error){
                $("#debug").text(error);
                errorReport(error)
            }
        });
    </script>
</body>

</html>
